package com.traffic.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 外聘人员费申请对象 external_staff_fee_application
 * 
 * @author ywt
 * @date 2024-10-12
 */
public class ExternalStaffFeeApplication extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 部门名称 */
    @Excel(name = "部门名称")
    private String department;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String employeeName;

    /** 申请日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 费用 */
    @Excel(name = "费用")
    private BigDecimal fee;

    /** 签领人签字 */
    @Excel(name = "签领人签字")
    private Long signatory;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Long status;

    /** 删除 */
    private Integer isdel;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setEmployeeName(String employeeName) 
    {
        this.employeeName = employeeName;
    }

    public String getEmployeeName() 
    {
        return employeeName;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setFee(BigDecimal fee) 
    {
        this.fee = fee;
    }

    public BigDecimal getFee() 
    {
        return fee;
    }
    public void setSignatory(Long signatory) 
    {
        this.signatory = signatory;
    }

    public Long getSignatory() 
    {
        return signatory;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIsdel(Integer isdel) 
    {
        this.isdel = isdel;
    }

    public Integer getIsdel() 
    {
        return isdel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("department", getDepartment())
            .append("employeeName", getEmployeeName())
            .append("date", getDate())
            .append("fee", getFee())
            .append("signatory", getSignatory())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("isdel", getIsdel())
            .toString();
    }
}
